package com.alks.function.mapper.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.PcSlipTemp;
import com.alks.entity.data.entity.PcSlipTempPack;
import com.alks.entity.data.entity.SdMaterial;
import com.alks.function.data.dto.stockdept.pcfactorystockwork.LotComMtlDto;
import com.alks.function.data.request.stockdept.pcfactorystockwork.LotComMtlRequest;
import com.alks.function.data.request.stockdept.pcfactorystockwork.OMtlwaitAddRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-09-08
 */
@Mapper
public interface SD_SQ_SdMaterialMapper extends BaseMapper<SdMaterial> {
    /*找出指令通用材料*/
    List<LotComMtlDto> getLotComMtlQuery(LotComMtlRequest request);

    PcSlipTemp comMtlQuery(String mtlNo);

    /*待入库新增查询*/
    List<PcSlipTemp> getOtMtlWaitStk2(List<OMtlwaitAddRequest> request);

    List<PcSlipTempPack> packTempAddQuery(@Param("request") List<Map<String, String>> request);
}
